package com.example.huitong.ui;

import com.example.huitong.R;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;

public class FlashActivity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_flash);
        
        new Handler().postDelayed(mGo, 1000);
    }
    
    private Runnable mGo = new Runnable() {
		
		@Override
		public void run() {
			// TODO Auto-generated method stub
			Intent intent = new Intent(FlashActivity.this, LoginActivity.class);
//			Intent intent = new Intent(FlashActivity.this, HomeActivity.class);
			startActivity(intent);
			finish();
		}
	};

}
